package com.spzx.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.spzx.product.api.domain.ProductSku;
import com.spzx.product.api.domain.query.ProductSkuQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductSkuMapper  extends BaseMapper<ProductSku> {

    List<ProductSku> selectIndexSkus();

    List<ProductSku> selectListSkus(Page<ProductSku> page, @Param("query") ProductSkuQuery query);
}